import axios from 'axios'

export default {
  requestLogin (loginParams) {
    let user = {
      id: 1,
      username: 'admin',
      password: '123456'
    }
    return new Promise((resolve, reject) => {
      resolve({ msg: 'success', code: 200, user: user })
    })
  }
}